package com.binyuan.move.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 【请填写功能名称】对象 screen_recorder_move
 * 
 * @author ruoyi
 * @date 2023-06-29
 */
public class ScreenRecorderMove extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long moveId;

    /** 视频地址 */
    @Excel(name = "视频地址")
    private String movePath;

    /** 录制状态 */
    @Excel(name = "录制状态")
    private Long moveStatus;

    private String moveName;


    /** 停止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "停止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date downTime;

    public void setMoveId(Long moveId) 
    {
        this.moveId = moveId;
    }

    public Long getMoveId() 
    {
        return moveId;
    }
    public void setMovePath(String movePath) 
    {
        this.movePath = movePath;
    }

    public String getMovePath() 
    {
        return movePath;
    }
    public void setMoveStatus(Long moveStatus) 
    {
        this.moveStatus = moveStatus;
    }

    public Long getMoveStatus() 
    {
        return moveStatus;
    }
    public void setDownTime(Date downTime) 
    {
        this.downTime = downTime;
    }

    public Date getDownTime() 
    {
        return downTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("moveId", getMoveId())
            .append("movePath", getMovePath())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("moveStatus", getMoveStatus())
            .append("downTime", getDownTime())
            .append("remark", getRemark())
            .toString();
    }

    public String getMoveName() {
        return moveName;
    }

    public void setMoveName(String moveName) {
        this.moveName = moveName;
    }

    public ScreenRecorderMove() {
    }

    public ScreenRecorderMove(String moveName) {
        this.moveName = moveName;
    }

    public ScreenRecorderMove(Long moveId, Long moveStatus, Date downTime) {
        this.moveId = moveId;
        this.moveStatus = moveStatus;
        this.downTime = downTime;
    }

    public ScreenRecorderMove(String movePath, String moveName, Long moveStatus, Date downTime, String createBy, Date createTime) {

        this.movePath = movePath;
        this.moveName = moveName;
        this.moveStatus = moveStatus;
        this.downTime = downTime;
        this.setCreateBy(createBy);
        this.setCreateTime(createTime);
    }
}
